import {get} from "../../utils/req";
import {alert} from "../../components/common/alert";

export async function list() {
    try {
        return await get('/private/teacher/list') || [];
    } catch (e) {
        alert(`获取教师信息失败：${e}`, 'error');
        return [];
    }
}
